POV-Ray : Newsgroups : povray.beta-test : f_noise - I'm confused : f_noise - I'm confused Server Time
31 Jul 2024 04:26:17 EDT (-0400)
  f_noise - I'm confused  
From: Tom Melly
Date: 11 Sep 2001 04:54:33
Message: <3b9dd149$1@news.povray.org>
What is the correct syntax for using f_noise? I've placed   noise_generator 3
in my global block.

#declare fn_Noise = function{f_noise3d(x,y,z)} // nope
#declare fn_Noise = f_noise3d(x,y,z) // nope

--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.